/*
 * TODO
 */
package com.xtrip.train.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @project xtrip
 * @author shiming.yao
 * @time 2013-3-14
 */
@Controller("train")
@RequestMapping("train")
public class TrainController {

	@RequestMapping("/")
	public String index(HttpServletRequest request,HttpServletResponse response,Model model){
		model.addAttribute("type","train");
		return "/train/train_main";
	}
}
